from pyecharts.charts import Pie
from pyecharts import options

data=[("南昌",10),("北京",60),("上海",70),("成都",30)]
pie=Pie()
pie.add("单位/个",data)
pie.set_global_opts(title_opts=options.TitleOpts(title="各城市岗位量占比图"))
pie.render("piera.html")